var Droughs = {
  
    html: function (DroupArray) {
  
      var html="<div class=\"DroughDiv\" id='DroughDiv'>";
      var zhibiaoSelectHtml="";
      if(DroupArray!=null&&typeof(DroupArray)!='underfined'&&DroupArray.length>0){
        zhibiaoSelectHtml="<div class=\"pluginsSingleRows layui-form-item \"><label class='layui-form-label'>分析类别:</label><div class='layui-input-block'><select id='zhibiaoSelect'>";
      }else{
        zhibiaoSelectHtml="<div class=\"pluginsSingleRows layui-form-item \" style=\"display:none;\"><label class='layui-form-label'>分析类别:</label><div class='layui-input-block'><select id='zhibiaoSelect'>";
      }
      for(var i=0;i<DroupArray.length;i++){
        zhibiaoSelectHtml+="<option value='"+DroupArray[i]+"' ";
        if(i==0){
          zhibiaoSelectHtml+="selected=\"selected\"";
        }
        zhibiaoSelectHtml+=" >"+DroupArray[i]+"</option>";
      }
      zhibiaoSelectHtml+="</select></div></div>";
      html+=zhibiaoSelectHtml;
  
      html+="</div>";
      return html;
    },
    getData: function () {
      // Global.postData.paramsMap = 'RT_SPI30';
      var val=$('#DroughDiv option:selected') .val();
      if(val !=null && val !="underfined"){
        Global.postData.paramsMap = $('#DroughDiv option:selected') .val();
      }
    
    },
  
  };
  
  
  